package com.softserve;


/**
 * Created by IntelliJ IDEA.
 * User: override
 * Date: 5/29/11
 * Time: 9:22 PM
 * To change this template use File | Settings | File Templates.
 */
public class Person {
    private String name;
    private String surname;
    private String patronymic;
    private String ticketNumber;
    private String voyage;
    private String ticketClass;
    private String passport;
    private boolean registration;

    public Person(String name, String surname, String patronymic, String ticketNumber, String voyage, String ticketClass, String passport) {
        this.name = name;
        this.surname = surname;
        this.patronymic = patronymic;
        this.ticketNumber = ticketNumber;
        this.voyage = voyage;
        this.ticketClass = ticketClass;
        this.passport = passport;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public String getPatronymic() {
        return patronymic;
    }

    public void setPatronymic(String patronymic) {
        this.patronymic = patronymic;
    }

    public String getTicketNumber() {
        return ticketNumber;
    }

    public void setTicketNumber(String ticketNumber) {
        this.ticketNumber = ticketNumber;
    }

    public String getVoyage() {
        return voyage;
    }

    public void setVoyage(String voyage) {
        this.voyage = voyage;
    }

    public String getTicketClass() {
        return ticketClass;
    }

    public void setTicketClass(String ticketClass) {
        this.ticketClass = ticketClass;
    }

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = passport;
    }

    public boolean isRegistration() {
        return registration;
    }

    public void setRegistration(boolean registration) {
        this.registration = registration;
    }
}
